<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | The following language lines contain the default error messages used by
    | the validator class. Some of these rules have multiple versions such
    | as the size rules. Feel free to tweak each of these messages here.
    |
    */

    'accepted'             => 'The :attribute must be accepted.',
    'active_url'           => 'The :attribute is not a valid URL.',
    'after'                => 'The :attribute must be a date after :date.',
    'after_or_equal'       => 'The :attribute must be a date after or equal to :date.',
    'alpha'                => 'The :attribute may only contain letters.',
    'alpha_dash'           => 'The :attribute may only contain letters, numbers, and dashes.',
    'alpha_num'            => 'The :attribute may only contain letters and numbers.',
    'array'                => 'The :attribute must be an array.',
    'before'               => 'The :attribute must be a date before :date.',
    'before_or_equal'      => 'The :attribute must be a date before or equal to :date.',
    'between'              => [
        'numeric' => 'The :attribute must be between :min and :max.',
        'file'    => 'The :attribute must be between :min and :max kilobytes.',
        'string'  => 'The :attribute must be between :min and :max characters.',
        'array'   => 'The :attribute must have between :min and :max items.',
    ],
    'boolean'              => 'The :attribute field must be true or false.',
    'confirmed'            => 'The :attribute confirmation does not match.',
    'date'                 => 'The :attribute is not a valid date.',
    'date_between'         => 'The :attribute out of time range',
    'date_format'          => 'The :attribute does not match the format :format.',
    'different'            => 'The :attribute and :other must be different.',
    'digits'               => 'The :attribute must be :digits digits.',
    'digits_between'       => 'The :attribute must be between :min and :max digits.',
    'dimensions'           => 'The :attribute has invalid image dimensions.',
    'distinct'             => 'The :attribute field has a duplicate value.',
    'email'                => 'The :attribute must be a valid email address.',
    'exists'               => 'The selected :attribute is invalid.',
    'file'                 => 'The :attribute must be a file.',
    'filled'               => 'The :attribute field must have a value.',
    'image'                => 'The :attribute must be an image.',
    'in'                   => 'The selected :attribute is invalid.',
    'in_array'             => 'The :attribute field does not exist in :other.',
    'integer'              => 'The :attribute must be an integer.',
    'ip'                   => 'The :attribute must be a valid IP address.',
    'ipv4'                 => 'The :attribute must be a valid IPv4 address.',
    'ipv6'                 => 'The :attribute must be a valid IPv6 address.',
    'json'                 => 'The :attribute must be a valid JSON string.',
    'max'                  => [
        'numeric' => 'The :attribute may not be greater than :max.',
        'file'    => 'The :attribute may not be greater than :max kilobytes.',
        'string'  => 'The :attribute may not be greater than :max characters.',
        'array'   => 'The :attribute may not have more than :max items.',
    ],
    'mimes'                => 'The :attribute must be a file of type: :values.',
    'mimetypes'            => 'The :attribute must be a file of type: :values.',
    'min'                  => [
        'numeric' => 'The :attribute must be at least :min.',
        'file'    => 'The :attribute must be at least :min kilobytes.',
        'string'  => 'The :attribute must be at least :min characters.',
        'array'   => 'The :attribute must have at least :min items.',
    ],
    'not_in'               => 'The selected :attribute is invalid.',
    'not_regex'            => 'The :attribute format is invalid.',
    'numeric'              => 'The :attribute must be a number.',
    'present'              => 'The :attribute field must be present.',
    'regex'                => 'The :attribute format is invalid.',
    'required'             => 'The :attribute field is required.',
    'required_if'          => 'The :attribute field is required when :other is :value.',
    'required_unless'      => 'The :attribute field is required unless :other is in :values.',
    'required_with'        => 'The :attribute field is required when :values is present.',
    'required_with_all'    => 'The :attribute field is required when :values is present.',
    'required_without'     => 'The :attribute field is required when :values is not present.',
    'required_without_all' => 'The :attribute field is required when none of :values are present.',
    'same'                 => 'The :attribute and :other must match.',
    'size'                 => [
        'numeric' => 'The :attribute must be :size.',
        'file'    => 'The :attribute must be :size kilobytes.',
        'string'  => 'The :attribute must be :size characters.',
        'array'   => 'The :attribute must contain :size items.',
    ],
    'string'               => 'The :attribute must be a string.',
    'timezone'             => 'The :attribute must be a valid zone.',
    'unique'               => 'The :attribute has already been taken.',
    'uploaded'             => 'The :attribute failed to upload.',
    'url'                  => 'The :attribute format is invalid.',

    'array_db_unique' => '"The :attribute :values are duplicated in table :table column :column."',

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | Here you may specify custom validation messages for attributes using the
    | convention "attribute.rule" to name the lines. This makes it quick to
    | specify a specific custom language line for a given attribute rule.
    |
    */

    'custom' => [
        'attribute-name' => [
            'rule-name' => 'custom-message',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Attributes
    |--------------------------------------------------------------------------
    |
    | The following language lines are used to swap attribute place-holders
    | with something more reader friendly such as E-Mail Address instead
    | of "email". This simply helps us make messages a little cleaner.
    |
    */

    'attributes' => [
        'name'                     => 'Name',
        'username'                 => 'username',
        'email'                    => 'Mailbox',
        'first_name'               => 'name',
        'last_name'                => 'last name',
        'password'                 => 'Password',
        'password_confirmation'    => 'confirm password',
        'city'                     => 'city',
        'country'                  => 'country',
        'address'                  => 'address',
        'phone'                    => 'Phone',
        'mobile'                   => 'Mobile',
        'age'                      => 'age',
        'sex'                      => 'sex',
        'gender'                   => 'sex',
        'day'                      => 'day',
        'month'                    => 'month',
        'year'                     => 'year',
        'hour'                     => 'hour',
        'minute'                   => 'minute',
        'second'                   => 'seconds',
        'title'                    => 'Title',
        'content'                  => 'Content',
        'description'              => 'Description',
        'excerpt'                  => 'Summary',
        'date'                     => 'date',
        'time'                     => 'time',
        'available'                => 'available',
        'size'                     => 'Size',

        // 自定义验证的字段
        'image'                    => 'Upload Picture',
        'bos_dir'                  => 'image path',
        'images.*'                 => 'Multiple graph',
        'images'                   => 'Multigraph',
        'url'                      => 'URL',
        'logo'                     => 'icon',
        'enabled'                  => 'is it available',
        'account'                  => 'Account',
        'store_id'                 => 'Store id',
        'device_name'              => 'device name',
        'skin_detector_id'         => 'skin detector type id',
        'asset_title'              => 'Matcher title',
        'sort'                     => 'Sorting priority',
        'hair_preview'             => 'Hairstyle preview',
        'assets_dir'               => 'Material Catalog',
        'assets_bin'               => 'material file',
        'assets_png'               => 'Material Image',
        'is_show'                  => 'is displayed',
        'priority'                 => 'sort priority',
        'category_id'              => 'product category id',
        'asset_id'                 => 'Material id',
        'brand_id'                 => 'brand id',
        'sell_price'               => 'Product Sales Price',
        'market_price'             => 'Commodity Market Price',
        'spu_code'                 => 'product code',
        'stock'                    => 'Product inventory quantity',
        'taobao_product_info'      => 'Product Details',
        'taobao_url'               => 'Product Link',
        'thumb'                    => 'thumbnails',
        'color_thumb'              => 'color thumbnail',
        'product_tag_ids'          => 'Product tag',
        'product_tag_ids.*'        => "Product tag's value",
        'keyword'                  => 'keyword',
        'is_sale'                  => 'Is it sold',
        'is_deleted'               => 'remove',
        'is_hot'                   => 'Is it hot,',
        'is_new'                   => 'is new',
        'id'                       => 'number',
        'type'                     => 'type',
        'value'                    => 'type of value',
        'store_img'                => 'Shop Image',
        'remark'                   => 'Remarks',
        'order_by'                 => 'ordered fields',
        'born_at'                  => 'date of birth',
        'role_name'                => 'Administrator role',
        'show_virtual'             => 'whether to open the virtual warehouse',
        'product_ids'              => 'Product id array',
        'product_ids.*'            => 'value of array of commodity id',
        'keywords'                 => 'keywords',
        'born_at_start_time'       => 'start time',
        'born_at_end_time'         => 'Deadline',
        'has_skin_record'          => 'Is there detect data',
        'file'                     => 'upload file',
        'product_id'               => 'Product id',
        'model_xml'                => 'material file',
        'code'                     => 'material encoding',
        'const'                    => 'Commodity category constants',
        'parent_id'                => 'parent category id',
        'icon'                     => 'Ordinary icon',
        'icon_active'              => 'highlight icon',
        'has_asset'                => 'Is the material associated with',
        'product_model_id'         => 'Product Model id',
        'values'                   => 'properties',
        'values.*'                 => 'attribute',
        'attribute_values'         => 'properties',
        'attribute_values.*.id'    => "Attribute's id",
        'attribute_values.*.value' => 'value of attribute',
        'customer_id'              => 'Proxy customer id',
        'spec_values'              => 'Specifications',
        'spec_values.*'            => 'Specifications',
        'spec_values.*.id'         => 'Specification id',
        'spec_values.*.value'      => 'Specifications',
        'provider_type'            => "customer's type",
        'has_hair'                 => 'Is it open to try on hair?',
        'legal_person'             => 'Corporate',
        'telephone'                => 'company phone',
        'contacts'                 => 'Contacts',
        'license'                  => 'business license',
        'authorizer_id'            => 'public number id',
        'division_percent'         => 'in proportion',
        'operate_category'         => 'Open product category',
        'operate_category.*'       => 'value of opened product category',
        'dev_acnt_num'             => 'open device account number',
        'sku'                      => 'number of purchases',
        'buyer'                    => 'purchaser',
        'purchase_at'              => 'purchase date',
        'device_id'                => 'device model id',
        'purchase_device_id'       => 'purchasing equipment id',
        'num'                      => 'sell quantity',
        'sold_at'                  => 'sell date',
        'uuid'                     => 'device encoding',
        'specification'            => 'device specification',
        'producer'                 => 'producer',
        'product_image_ids'        => 'ID of product thumbnail',
        'expired'                  => 'limited period',
        'token'                    => 'Login token',
        'wechat_user_id'           => "Wechat user's id",
        'skin_record_id'           => 'skin detection record id',
        'itemsid'                  => 'wax detection item id',
        'itemsname'                => 'wax detection item name',
        'levelsort'                => 'wax detection level stage value',
        'origin_img'               => 'wax detection camera photo original',
        'analyse_img'              => 'wax detection analysis results synthesis map',
        'dark_circle'              => 'cam detects dark circles',
        'stain'                    => 'cam detection of stain value',
        'acne'                     => 'cam detects acne',
        'health'                   => 'cam detection health',
        'position'                 => 'hm detection position',
        'flex'                     => 'hm to detect elasticity',
        'oil'                      => 'hm detection oil',
        'water'                    => 'hm detected moisture',
        'imei'                     => "Machine's IMEI",
        'mac'                      => "machine's mac address",
        'longitude'                => 'longitude address of the machine',
        'latitude'                 => 'machine dimension address',
        'count'                    => 'times',
        'wax_sid'                  => 'WAX detector detection type value',
        'scan_event_id'            => "Scan code's scene id",
        'staff_id'                 => 'employee id',
        'enc_id'                   => "enc's id",
        'debug_wechat_user_id'     => "Debug WeChat user's id",
        'software'                 => 'software',
        'target_url'               => 'Callback URL',
        'configs.*'                => 'value of parameter',
        'debug'                    => 'Debug Mode',
        'redirect_url'             => 'callback address',
        'scope'                    => 'Website authorized scope value',
        'expire_seconds'           => 'Expiration time',
        'scene_value'              => 'scene value',
        'forever'                  => 'forever',
        'video'                    => 'video',
        'code_type'                => 'type',
        'appid'                    => 'public number appid',
        'keep_name'                => 'name',
        'version'                  => 'version information',
        'assets'                   => 'Material',
        'assets.*.asset_id'        => 'material id',
        'assets.*.product_ids'     => 'Material goods id',
        'assets.*.index'           => 'The descriptive or shape of the material',
        'openid'                   => "WeChat user's openid",
        'media_id'                 => 'Wechat media_id',
        'bos_url'                  => 'url address',
        'language'                 => 'Language',
        'device_account_id'        => 'Device account ID',

        'province' => 'Provinces',
        'district' => 'Region',
        'uuids'    => 'serial number',
        'uuids.*'  => "serial number's item",

        'product_url_type_id' => 'Product type chain id value',
        'product_url'         => 'Product Outlet URL',

        'banner_type_id'     => 'Sowing map type ID',
        'data'               => 'Sowing map jump link',
        'advert_type_id'     => 'advert type',
        'content_key'        => 'advert content',
        'play_second'        => 'Play length',
        'device_account_ids' => 'device account id',

        'order_bys'            => 'Sort array',
        'order_bys.*.order_by' => 'Sort field',
        'order_bys.*.sort'     => 'Sort rule',
        'pack_category_id'     => 'Overall makeup classification ID',

        'water_mark' => 'Watermark picture',

        'device_spec_id'    => 'Equipment test makeup parameters id',
        'eyelash_threshold' => 'Upper and lower eyelashes',
        'eyelash_length'    => 'Length of eyelashes',
        'pupil_size'        => 'Beauty pupil size',
        'eyeshadow_bright'  => 'Eye shadow brightness',
        'beautifulness'     => 'Beauty level',
        'whiteness'         => 'Whitening degree',
        'lip_feather'       => 'Lipstick emergence',

        'device_uuid'   => 'Device type coding',
        'time_range'    => 'Time slot',

        'operator'            => 'Shipper',
        'skin_detector_ids'   => 'Skin detector information',
        'skin_detector_ids.*' => 'Type value of skin detector',

        'specifications' => 'Specification value',
        'manufacturer'   => 'Manufacturer',

        'has_youzan'           => 'Is it open youzan',
        'youzan_authorizer_id' => 'Youzan Authorized store ID',

        'ali_account'   => 'alipay account',

        'activity_picture' => 'Sales promotion pictures',
        'activity_url'     => 'Promotional links',
        'started_at'       => 'Promotions start date',
        'ended_at'         => 'Sales promotion deadline',

        'store_admin_id'      => 'Shop employee ID',
        'body_position_ids'   => 'Information on body parts',
        'body_position_ids.*' => 'Numbering information of body parts',
        'cosmetic_material_id'=> 'Cosmetic material ID',
        'brand_series_id'     => 'Brand Series ID',
        'company_name'        => 'company name',
        'product_image'       => 'Product upload image',
        'product_price'       => 'Retail price of goods',

        'hm_skin_suggests'    => 'Customized beauty measurement recommendations',
        'wax_skin_suggests'   => 'Customized Sipu skin measurement recommendations',
        'products'            => 'Backstage customer recommended product array',

        'skin_type'           => 'Skin tester type',
        'products.*'          => 'Product id',
        'wax_skin'            => 'wax Skin array',
        'wax_skin.item_id'    => 'wax Type of detection',
        'wax_skin.level_sort' => 'wax Detected score',
        'hm_skin'             => 'hm Skin array',
        'hm_skin.position_id' => 'hm Skin part id',
        'hm_skin.item_id'     => 'hm Type of detection',
        'hm_skin.level_sort'  => 'hm Detected score',

        'skin_ids'   => 'Skin measurement id array',
        'skin_ids.*' => 'Skin measurement score id',
    ],

    'panx_attr' => [
        'app' => [
            'staff' => [
                'name'  => 'name',
                'phone' => 'phone',
            ]
        ]
    ],
];
